{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>订单详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label" style="text-align:left;width: 130px"><h2>用户信息</h2></label>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">用户姓名：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.user_real_name}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">用户手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.user_phone}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">店铺名称：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.user_shop_name}">
                            </div>
                        </div>


                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label" style="text-align:left;width: 130px"><h2>客户信息</h2></label>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">客户名称：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.pc_client_name}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">客户手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.pc_client_phone}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">年龄：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.pc_client_age}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">性别：</label>
                            <div class="layui-input-block">
                                {if $order.pc_client_gender == 1}
                                <input type="text" disabled class="layui-input" value="男">
                                {else /}
                                <input type="text" disabled class="layui-input" value="女">
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">婚姻状况：</label>
                            <div class="layui-input-block">
                                {if $order.pc_client_marry == 1}
                                <input type="text" disabled class="layui-input" value="未婚">
                                {else /}
                                <input type="text" disabled class="layui-input" value="已婚">
                                {/if}
                            </div>
                        </div>


                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label" style="text-align:left;width: 130px"><h2>订单信息</h2></label>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单编号：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.po_number}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">套餐名称：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.ps_name}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单状态：</label>
                            <div class="layui-input-block">
                                {if $order.po_status == 1}
                                <input type="text" disabled class="layui-input" value="待审核">
                                {elseif($order.po_status == 2)}
                                <input type="text" disabled class="layui-input" value="审核通过">
                                {elseif($order.po_status == 3)}
                                <input type="text" disabled class="layui-input" value="审核驳回">
                                {elseif($order.po_status == 4)}
                                <input type="text" disabled class="layui-input" value="已配货">
                                {elseif($order.po_status == 5)}
                                <input type="text" disabled class="layui-input" value="已发货">
                                {else /}
                                <input type="text" disabled class="layui-input" value="已收货">
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">拒绝原因：</label>
                            <div class="layui-input-block">
                                <textarea style="width: 500px;height: 80px" disabled>{$order.po_refuse_reason}</textarea>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单类型：</label>
                            <div class="layui-input-block">
                                {if $order.po_type == 1}
                                <input type="text" disabled class="layui-input" value="会员订单">
                                {else /}
                                <input type="text" disabled class="layui-input" value="非会员订单">
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">皮肤图集：</label>
                            <div class="layui-input-block">
                                {if count($order.po_images) > 0}
                                <div class="layui-upload-list img-circle">
                                    {volist name='order.po_images' id='vo'}
                                    <img class="layui-append-img" src="{$vo}">
                                    {/volist}
                                </div>
                                {else /}
                                暂无图片
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">魔镜图集：</label>
                            <div class="layui-input-block">
                                {if count($order.po_mj_images) > 0}
                                <div class="layui-upload-list img-circle">
                                    {volist name='order.po_mj_images' id='vo2'}
                                    <img class="layui-append-img" src="{$vo2}">
                                    {/volist}
                                </div>
                                {else /}
                                暂无图片
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">下单时间：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.po_time}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">审核时间：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.po_check_time}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">配货时间：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.po_peihuo_time}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">发货时间：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.po_send_time}">
                            </div>
                        </div>


                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label" style="text-align:left;width: 130px"><h2>皮肤信息</h2></label>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">皮肤信息：</label>
                            {volist name='skin' id='vo2'}
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$vo2.pskin_name}">
                            </div>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$vo2.config_name}">
                            </div>
                            <div class="layui-input-block" style="margin-bottom: 10px">
                                <textarea style="width: 578px;height: 50px" disabled>  {$vo2.pos_describe}</textarea>
                            </div>
                            {/volist}
                        </div>


                        {if $order.po_status == 4 || $order.po_status == 5 || $order.po_status == 6}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label" style="text-align:left;width: 130px"><h2>配货信息</h2></label>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">配货信息：</label>
                            <div class="layui-input-block">
                                <textarea style="width: 450px;height: 200px" disabled>{$peihuo}</textarea>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">效果：</label>
                            <div class="layui-input-block">
                                <textarea style="width: 450px;height: 200px" disabled>{$order.po_effect}</textarea>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">注意事项：</label>
                            <div class="layui-input-block">
                                <textarea style="width: 450px;height: 200px" disabled>{$order.po_remind}</textarea>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">使用说明：</label>
                            <div class="layui-input-block">
                                <textarea style="width: 450px;height: 200px" disabled>{$order.po_use_explain}</textarea>
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label" style="text-align:left;width: 130px"><h2>物流信息</h2></label>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">收货人：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.po_receive_username}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.po_receive_phone}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">收货地址：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.sheng}{$order.shi}{$order.qu}{$order.po_address}">
                            </div>
                        </div>

                        {if $order.po_status == 5 || $order.po_status == 6}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">物流公司：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.po_wl_company}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">物流编号：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input" value="{$order.po_wl_number}">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">物流图片</label>
                            <div class="layui-input-block">
                                {if count($order.po_wl_images) > 0}
                                {volist name='order.po_wl_images' id='vo1'}
                                <div class="layui-upload-list img-circle">
                                    <img class="layui-append-img" src="{$vo1}">
                                </div>
                                {/volist}
                                {else /}
                                暂无图片
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">物流备注：</label>
                            <div class="layui-input-block">
                                <textarea style="width: 450px;height: 200px" disabled>{$order.po_wl_remark}</textarea>
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{include file="public/footer" /}
</body>
</html>